package com.app.designpatternslearn.creational.simplefactorymodel

import com.app.designpatternslearn.creational.simplefactorymodel.code.ShapeType
import com.app.designpatternslearn.creational.simplefactorymodel.code.getShape


fun main() {

    val circleShape = getShape(ShapeType.CIRCLE)

    circleShape.draw()

    val rectangleShape = getShape(ShapeType.RECTANGLE)
    rectangleShape.draw()

    val squareShape = getShape(ShapeType.SQUARE)
    squareShape.draw()

}